A5WS_User_File_Field_List Function

Syntax

Field_List as C = a5ws_User_File_Field_List([C format [,* request ]])

Arguments

Field_List

A CR-LF list of user table fields used in the current web project.

format

Optional. A display format information to use to output field information. Options are:

"n" = fieldname
"t" = simple field type
"w" = field width
Default is fieldname only. If format is specified, the output will use the "|" delimiter between values.
request

Optional. The Request system variable. This variable explicitly passes all request variables to the function. Required if run from a web page.

Description

Retrieve a list of active fields in CR-LF list for web user table in the current project. Format - n - fieldnames, t - simple field type, w - field width.

Discussion

Retrieve a list of active fields in CR-LF list for web user table in the current project. The field list will be determined by the current security settings and will show only fields currently used. The Request system variable is only needed if the function is used on a web page or in a web component.

The following code run in the interactive window will return a list of user table fields for the current selected web project profile.

?a5ws_User_File_Field_List()
= Email
Guid
PassEnt
PassExp
Password
RedirPage
RememberMe
Ulink
Userid

The following code run in the interactive window will return a list of user table fields and information about the fields. The width information is helpful when building a web component.

?a5ws_User_File_Field_List("ntw")
= Email|C|40
Guid|C|36
PassEnt|T|17
PassExp|T|17
Password|C|40
RedirPage|C|60
RememberMe|L|1
Ulink|C|40
Userid|C|60

Limitations

Web applications only.

See Also